import axios from "axios";
import { useCounterStore } from "@/stores/counter";

//创建axios实例
const http = axios.create({
    baseURL: '',
    timeout: 10000
});

http.interceptors.request.use(
    cfg => {
        const userStore = useCounterStore();
        const token = userStore.
        return cfg;
    }
);